<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<meta http-equiv="Content-type" content="text/css" />
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
			}
			li {
				list-style: none;
				padding: 20px 0;
				margin-left: 100px;
			}
			img {
				display: inline-block;
				vertical-align: middle;
			}
			a {
				display: inline-block;
				width: 100px;
				height: 31px;
				text-align: center;
				line-height: 33px;
				text-decoration: none;
				background-color: #FFFFFF;
			}
			input {
				font-size: 20px;
			}
			a:hover {
				background-color: #00B5E9;
			}
			.rgba{
				width: 600px;
				position: absolute;
				right: 5%;
				top: 7%;
				font-size: 20px;
				background-color: rgba(0,0,0,.3);
			}
			.h1{
				position: absolute;
				right: 50%;
				top: 35%;
				color: #D6D8DB;
				font-size: 1.875rem;
			}
			.rgba .box {
				width: 100%;
				height: 200px;
				margin: 10px 0;
				color: #FFFFFF;
			}
			.shang {
				text-align: center;
				line-height: 200px;
				font-size: 35px;
			}
			.xia input {
				font-size: 25px;
				font-weight: 400;
				margin-left: 125px;
			}
			.xia a {
				margin-left: 175px;
				color: #000000;
			}
		</style>
	</head>
	<body background="images/1.jpg">
		<div class="h1">
			<h1>Welcome!</h1>
			<h1>CQan菜鸟信息发布系统</h1>
		</div>
		<div  class="rgba">
		<form action="" method="post">
		<div class="shang box">注册页面</div>
		
		<div class="zhong box">
			<ul>
				<li>账&nbsp;&nbsp;&nbsp;&nbsp;号：<input name="zh" value=""></li>
				<li>密&nbsp;&nbsp;&nbsp;&nbsp;码：<input name="mm" value=""></li>
			</ul>
		</div>
		
		<div class="xia box">
			<input type="submit" name="qr" value="确认">
			<a href="login.html">返回登录</a>
		</div>
		</form>
		</div>
	</body>
</html>
<!-- <?php
session_start();
if(isset($_POST['qr']))
{
	$zh=$_POST['zh'];
	$mm = $_POST['mm'];
	
	$_SESSION['zh']=$zh;
	$_SESSION['mm']=$mm;
	
	$yzzh = preg_match('/^\w{1,10}$/',$zh);
	$yzmm = preg_match('/^\d{4,14}$/',$mm);
	if($yzmm&&$yzzh)
		echo "<script>alert('注册成功！');</script>";
	else
		echo "<script>alert('输入错误！');</script>";
}
?> -->
